<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title>CesiumVectorTile参考文档: 类: VectorLayer</title>

    <script src="scripts/prettify/prettify.js"> </script>
    <script src="scripts/prettify/lang-css.js"> </script>
    <!--[if lt IE 9]>
      <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
    <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
</head>

<body>

<div id="main">

    <h1 class="page-title">类: VectorLayer</h1>

    




<section>

<header>
    
        <h2>
            <span class="ancestors"><a href="Cesium.html">Cesium</a>.</span>
        
        VectorLayer
        </h2>
        
    
</header>

<article>
    <div class="container-overview">
    
        

    

    <h4 class="name" id="VectorLayer"><span class="type-signature"></span>new VectorLayer<span class="signature">(options)</span><span class="type-signature"></span></h4>

    











    <h5>Parameters:</h5>
    

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        

        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>options</code></td>
            

            <td class="type">
            
                
<span class="param-type">Object</span>


            
            </td>

            

            

            <td class="description last">
                <h6>Properties</h6>
                

<table class="params">
    <thead>
    <tr>
        
        <th>Name</th>
        

        <th>Type</th>

        
        <th>Attributes</th>
        

        
        <th>Default</th>
        

        <th class="last">Description</th>
    </tr>
    </thead>

    <tbody>
    

        <tr>
            
                <td class="name"><code>source</code></td>
            

            <td class="type">
            
                
<span class="param-type">String</span>
|

<span class="param-type">turf.FeatureCollection</span>
|

<span class="param-type">Object</span>
|

<span class="param-type">Array.&lt;Cesium.Util.Contour.PolyLine></span>
|

<span class="param-type">Array.&lt;Cesium.Util.Contour.Polygon></span>


            
            </td>

            
                <td class="attributes">
                

                

                
                </td>
            

            
                <td class="default">
                
                </td>
            

            <td class="description last">矢量文件url或者geojson对象</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>style</code></td>
            

            <td class="type">
            
                
<span class="param-type"><a href="Cesium.VectorStyle.html">Cesium.VectorStyle</a></span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    new VectorStyle()
                
                </td>
            

            <td class="description last">矢量文件url或者geojson对象</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>simplify</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    false
                
                </td>
            

            <td class="description last">true则简化，默认不简化</td>
        </tr>

    

        <tr>
            
                <td class="name"><code>simplifyTolerance</code></td>
            

            <td class="type">
            
                
<span class="param-type">Boolean</span>


            
            </td>

            
                <td class="attributes">
                
                    &lt;optional><br>
                

                

                
                </td>
            

            
                <td class="default">
                
                    0.01
                
                </td>
            

            <td class="description last">简化公差</td>
        </tr>

    
    </tbody>
</table>

            </td>
        </tr>

    
    </tbody>
</table>






<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33124">line 33124</a>
    </li></ul></dd>
    

    

    

    
</dl>
















    
    </div>

    

    

    

     

    

    
        <h3 class="subsection-title">Members</h3>

        
            
<h4 class="name" id="bbox"><span class="type-signature">(readonly) </span>bbox<span class="type-signature"> :Array.&lt;Number></span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Array.&lt;Number></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33197">line 33197</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="lines"><span class="type-signature"></span>lines<span class="type-signature"> :turf.featureCollection</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">turf.featureCollection</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33171">line 33171</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="onlyPoint"><span class="type-signature">(readonly) </span>onlyPoint<span class="type-signature"> :Boolean</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Boolean</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33192">line 33192</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="outlines"><span class="type-signature"></span>outlines<span class="type-signature"> :turf.featureCollection</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">turf.featureCollection</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33176">line 33176</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="points"><span class="type-signature"></span>points<span class="type-signature"> :turf.featureCollection</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">turf.featureCollection</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33181">line 33181</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="polygons"><span class="type-signature"></span>polygons<span class="type-signature"> :turf.featureCollection</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">turf.featureCollection</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33186">line 33186</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="readyPromise"><span class="type-signature"></span>readyPromise<span class="type-signature"> :Promise</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Promise</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33166">line 33166</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="rectangle"><span class="type-signature">(readonly) </span>rectangle<span class="type-signature"> :Cesium.Rectangle</span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type">Cesium.Rectangle</span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33202">line 33202</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
            
<h4 class="name" id="style"><span class="type-signature"></span>style<span class="type-signature"> :<a href="Cesium.VectorStyle.html">Cesium.VectorStyle</a></span></h4>






    <h5>Type:</h5>
    <ul>
        <li>
            
<span class="param-type"><a href="Cesium.VectorStyle.html">Cesium.VectorStyle</a></span>


        </li>
    </ul>





<dl class="details">

    

    

    

    

    

    

    

    

    

    

    

    

    
    <dt class="tag-source">Source:</dt>
    <dd class="tag-source"><ul class="dummy"><li>
        <a href="CesiumVectorTile.js.html">CesiumVectorTile.js</a>, <a href="CesiumVectorTile.js.html#line33161">line 33161</a>
    </li></ul></dd>
    

    

    

    
</dl>






        
    

    

    

    
</article>

</section>




</div>

<nav>
    <h2><a href="index.html">主页</a></h2><h3>命名空间</h3><ul><li><a href="Cesium.html">Cesium</a></li></ul><h3>类</h3><ul><li><h5><a href="Cesium.html">Cesium</a></h5></li><li><a href="Cesium.Path.html">Path</a></li><li><a href="Cesium.VectorLayer.html">VectorLayer</a></li><li><a href="Cesium.VectorRenderer.html">VectorRenderer</a></li><li><a href="Cesium.VectorStyle.html">VectorStyle</a></li><li><a href="Cesium.VectorTileImageryProvider.html">VectorTileImageryProvider</a></li></ul>
</nav>

<br class="clear">

<footer>
    Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.5.5</a> on Sat Aug 11 2018 22:22:53 GMT+0800 (中国标准时间)
</footer>

<script> prettyPrint(); </script>
<script src="scripts/linenumber.js"> </script>
</body>
</html>